#!/bin/bash


cmd=$(cat <<EOF
export LANG=en_US.utf8
date
ps -ef | grep /data/dataxone/tomcat | grep -v grep | wc -l 
EOF
)

echo $cmd

export SSH_CLI_HOST=localhost
export SSH_CLI_USER=root
export SSH_CLI_PASSWORD="Osroot@123#"
export SSH_SCP_BEFORE_COMMAND="echo before"
export SSH_SCP_AFTER_COMMAND="echo after"


target/release/sshcli --test-cmd="$cmd"